﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminLayout.master" AutoEventWireup="true" CodeFile="AdminProductsMac.aspx.cs" Inherits="AdminProductsMac" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form id="form1" runat="server">
<h2>
        Admin</h2>
<p>
    Mac</p>
<p>
        &nbsp;</p>
<h3>
    <asp:Label ID="lblresult" runat="server" ForeColor="Red"></asp:Label>
</h3>
<p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            onrowdeleting="GridView1_RowDeleting" DataKeyNames="ProductsID" 
            onrowediting="GridView1_RowEditing1" 
        onselectedindexchanged="GridView1_SelectedIndexChanged">
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="ProductsID" HeaderText="ID" />
            <asp:BoundField DataField="ProductsName" HeaderText="Name" />
            <asp:BoundField DataField="ProductsTypeName" HeaderText="Type Name" />
            <asp:BoundField DataField="ProductsPrice" HeaderText="Price" />
            <asp:ImageField DataImageUrlField="ProductsImage" HeaderText="Image">
                <ControlStyle Height="250px" Width="300px" />
            </asp:ImageField>
        </Columns>
    </asp:GridView>
</p>
<p>
    <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl="~/Admin/AdminProductsMacAddNew.aspx">Add New</asp:HyperLink>
</p>
<h3>
        &nbsp;</h3>
</form>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

